package joonany.basic;

public class TimeTime {

	public static void main(String[] args) {
		
		int daySec, inPutSec1, countDay;
		
		daySec = 86400;
		inPutSec1 = 1234567890;
		countDay = inPutSec1 / daySec;
		
		System.out.println("1234567890초는 " + countDay + "일 이다.");
		
				
		int hourSec, inPutSec2, countHour, hourDay;
		
		hourSec = 3600;
		inPutSec2 = 98765;
		hourDay = 24;
		countHour = inPutSec2 / hourSec;
		
		System.out.println("98765초는 " + countHour + "시간 이다.");
				
		
		int minSec, inPutSec3, countMin;
		
		minSec = 60;
		inPutSec3 = 12345;
		countMin = inPutSec3 / minSec;
		
		System.out.println("12345초는 " + countMin + "분 이다.");

	}

}
